package cn.itcast.bos.service.action.teke_delivary.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.action.teke_delivary.TakeTimeService;
import cn.itcast.bos.web.Dao.teke_delivary.TakeTimeRepository;

@Service
@Transactional
public class TakeTimeServiceimpl implements TakeTimeService {

	// 注入DAO
	private TakeTimeRepository takeTimeRepository;

	@Override
	public List<TakeTime> findAll() {

		return takeTimeRepository.findAll();
	}

}
